﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace A_Modules.ImageWaterMark
{


    public class WaterMarkDataObject
    {
        public int PositionX { get; set; }

        public int PositionY { get; set; }

        public string ImageSrc { get; set; }

        public Image ImageInstant{
            get { return Image.FromFile(this.ImageSrc); }
        }

        public Rectangle RectangleDest{
            get {return new Rectangle(this.PositionX,this.PositionY,this.ImageInstant.Width,this.ImageInstant.Height);}
        }
    }
}
